package org.linlinjava.litemall.admin.vo.shop;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author wj
 * @date 2021/8/19 14:11
 */
public class FreightTemplateListVo {

    @NotNull(message = "店铺id不能为空")
    private Integer shopId;

    private String keySearch;

    @NotNull(message = "类型不能为空")
    private Integer type;

    @NotNull(message = "当前页码不能为空")
    @Min(value = 1,message = "当前页码不能小于1")
    private Integer page;

    @NotNull(message = "每页显示条目不能为空")
    @Min(value = 0,message = "每页显示条目不能小于0")
    private Integer limit;

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public String getKeySearch() {
        return keySearch;
    }

    public void setKeySearch(String keySearch) {
        this.keySearch = keySearch;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }
}
